package com.weixing.mall.provider.model.dto;

import com.weixing.mall.core.validation.Mobile;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * ChgMobileDto
 *
 * @author  wx
 * @date  2019/9/18 10:30
 * @since  1.0
 */
@Data
public class ChgMobileDto {
    /**
     * 新手机号
     */
    @Mobile(message = "手机号格式不正确")
    private String mobile;
    /**
     * 短信验证码
     */
    @NotNull(message = "短信验证码不能为空")
    private String smsCode;
}
